package com.aaa.order.service;

import com.aaa.order.dao.OrderOperateHistoryDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * fileName:OrderOperateHistoryServiceImpl
 * description:
 * author:xjf
 * createTime:2020/1/8 14:37
 * version:1.0.0
 */
@Service
public class OrderOperateHistoryServiceImpl implements OrderOperateHistoryService {

    @Autowired
    private OrderOperateHistoryDao orderOperateHistoryDao;

    @Override
    public List<Map> getListByParam(Map map) {
        return orderOperateHistoryDao.getListByParam(map);
    }

    @Override
    public int add(Map map) {
        return orderOperateHistoryDao.add(map);
    }

    @Override
    public int update(Map map) {
        return orderOperateHistoryDao.update(map);
    }

    @Override
    public int delete(Map map) {
        return orderOperateHistoryDao.delete(map);
    }
}
